package com.gjzhao.fmmall.entity;

import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description: 订单实体类
 * @Author: gjzhao
 * @Date Created in 2022-02-08 7:59 下午
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Orders {

    /** 订单id */
    private String orderId;

    /** 用户ID */
    private String userId;

    /** 订单总价格 */
    private BigDecimal totalAmount;

    /** 订单状态 1:待付款 2:待发货 3:待收货 4:待评价 5:已完成 6:已关闭 */
    private String status;
}
